added a catch for when requirements are set to 0 or none so that no error is thrown