Master: Daniel Filipe Ferreira Lopes