logic for live and development system