Added bak function
Added shorten function