good enough version of materialize