cleaning + computing additional constant