got rid of wrapper functions for scanf