Allocating Resources to an Activity