mainly added the const class