Analysis draft version

updated level based