added ability to default params