jury trial to determine competency for July 24