Getting rid of parse function