added helper for actioncontroller