lgtm
need to implement pulsar
added random mode