fixed
working but sloww