moved default handlers into init, it now takes an object (optionally)