Initializes using custom object and controller