change method names to be more intuitive; improve format conversions