Works when entering coordinates