add buttons, send correct code
cleanup