added distribution management for demo