Changed magic number to constant