Seems to be working. Added a little counter as a test