adapted to current template
styles has been updated