add at_end() method to Location