adapted schema for location