Optimized insert, ugly way
Optimized insert, ugly way
monadic style