model stuffz
slightly modifiied main handler