removed default parameter for getInt, for it would convert by int operator