adding model to prepare coredata layer