workable code and photos added