Adding convert functions
Adding convert functions