add some functions

adjustment of space