had to use the printf statements inside because char* and int can't be displayed with same %-label thing