type from location