initial rewrite with polymer and material design