use of only and defer