turned on a bunch of warnings and changed a parameter type to be more consistent