removing the magic number