remove pry, revert upvote to better implementation