stack farm operations moved to a separate file