Change 'pot' type to 'float'