Some starter analysis code