adding basic ui functionality