testing using on instead of bind