find debugged, seems to work properly. needs testing.