added basic input (still blank) and handle drawing