with (hacked) view function