adapted to existing css