this if full of bugs
full of bugs