imcomplete, not working; infinte loop