adding code that shows how private works