runs but full of bugs