using parent constants instead of redeclaring it in class