some more neatness
Added some functions may come handy in future