add cast to double