Removed duplicated code from child class and moves it to parent class