make methods private
document api