generic use for backends, separated as before and after

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>