make specific methods for each format