added 'get' and improved 'mapFunc'