updated with vertical barrier