added custom method so that you don't need to use inheritance if you don't want to.