optimisations and forget network implementation