trying to find the bug...