can we just pass in ps.handler?
Maybe we need to add a func to get the handler?