got add and set termination time working
need to implement query and resource properties now