changed default constuctor