moved mappings to the instance in order to be dynamic