added locations to rest framework