reduce magic number