befor calc