called contructor instead of function