implemented getInteger, getBoolean and getString