And for god's sake typedef that type!