changed picture ending to get it to work