finally got a decent working prior!