Added currency conversion function and function to check item availability