create records with tasks