Yes, magic number, but I'm open to better solution...