updated funcitonality with twitter buttons