requirements calculator in separate class