added additional data and  variable appending