everythnig works out in the end (slow)