Trying to write a pseudo main to get rid of warnings