created object as module pattern and {} and new