Cleaner code. Allow for parameters to be valid, not only first