fixed up badish code