Return -1 as error indication. Add template for exp data