failed attempt to incorporate input.c functions
failed attempt to incorporate input.c functions