enhance code