working twords the new framework usage