This way of passing around the resId won't work once we are using multiple resource id's. For now, we can keep this, but it's going to have to change pretty soon.