make a full app; split get/4 into get/2 and set/4