remove refrence count, we need a better way