Extracted code from constructor to separated setup method