Looks for correct parameters