send logic first