Separate data from template