remove int from sun function