change the check method parameters to take the initialized parameters