added leftPin and right Pin