Implemented starting and ending point location