added images for gates and minor issues