removed frequency from getCurrentPosition