got integer parsing working