Remove the duplicates code in constructor by call constructor from constructor