adapted to material design