Little implementation of how to inherit