Implement actions 1 and 4.