added getting pictures