shrinked and tested a bit smt.ml