Inheritance(working first phase)