fixed bug in number parser; added constants