test sigma
fix deprecated stuff