Removed unecessary conversion function