forgot to cast to double