move magic number to config file