Added reverse option