add buttons and some check