Added reg_with_pic