basic input working