add some functions

adjustment of spaces