changed way constants define & documentation