use symbol instead of magic number