added rec_for img