Working POT code, can go to a selected position :)