now to optimize...