added 2 more conversion functions