updates for Alex's code