optimize code
optimize code