Added input method

Signed-off-by: Gavin Gassmann <gassmann.gavin@gmail.com>