removed and replaced get  coordinate functions