added analysis functions for smart control