Minor optimizations for give in