use hasOwnProperty for get() to make it secure