Finished basic Input Handler