a and res