added helper functions to get information about deployments