Handle input

Signed-off-by: Sharif Olorin <sio@tesser.org>