worked on calculate mechanism - failed