reconfigured prototypes in main.cpp - Mario