It was playing computer games _____ cost the boy plenty of time _______ he ought to have spent doing his lessons.