add the methods getBoolean and putBoolean