Updated to be more user friendly with parameters.