think i got it pretty reliable now