added simple extension functionality