button inputs implemented