allowing inheritance