added task tag to zoom validation function
needs refactoring and documentation.