add function to default when no context found