first proof of concept inference working