grabbing and appending images