Changed int to double