I've changed de hardcoded times to constants.