Completed constructor