Updated to add 2 add functions and fix general issue

general cordinate fix + new functions.