Parse method implementation