cleaned up some function and still working on get count it doesnt seem to work anymore