saves meta with in and out data