adding _dp to all double parameters