more methods for zocp
some cleanup