Removed all warnings from program