removed lock from calc