curry working
add static methods