'delta' should be an int and 'interval' a float
Add docstring to ps()
Add inline comments