Moved end sentence to the end