changed list type to double, still doesn't compile