Finished the horizontal implementation