add somr functionality