added extra conversion functions