Added more helper functions and integer parsing...