cleaned up analyzes inteface