changed exist_param to default
added a function to check if default params would fetch an existing key