commented old debug line
calculation needs work