Eli implemented the my-last function