adding some funcs to inks model