location function is supportted