added distribution management.