tried get method but didn't really work
Revert "tried get method but didn't really work"

This reverts commit 942d31ae0381ab754726af81153be7d1b1580184.
break loop seems to make it work