inheritance 2, 3 methods