added base class manage base funcionality of oop