Basic parsing code implemented