making utility methods static to avoid recurent instruments undefined errors.