adding buttons in a very bad way