added reversed data method