changes to end buttons