tutorial framework working