+Implementing inheritance in solution