removed methods from constructor