feature requests

I had the need for the following thus implemented it.