Adapted to newest sses,
testing