replace direction field with radio buttons