one more step toward correct path, though it still doesnt work