just an optimization