added parent method to overriden methods and constructor