more analysis, still not working though