First version that parses a profile