adding deprecated to the header