added default text parameter to prompt