added controller helpers