simplafied constructor