add logging
add payment