added constructor with default params