using cached net (thanks to @divolgin)