changed constant to package protected and set type