add some functions
version 0.1.1
add function apply