add logger, add save methods