const can have a type

more methods implemented.