changed init behaviour