can create code now ,but may repeat