dt changed to int from float