fixed vertical code