refactoring for homeview, made to easen bootstrapping