started off with calculations