added default params and user prompt