Made the source a double rather than int