create record in a better way. store.push doesn't work but creating a record seems to