added magic numbers