-n 
added function to object