final version after all buttons