finally get the between model to work