inheritance by assigning prototype of an object to a new object of the type you want to inherit from