Figured out how beforeafter works