extract function name becomes a function
add atom string