tried to make back button work but fucked up