added support for simple ps