works without deep
bugs fixed