messed up in refrences