Parsing my own class