making if working