help me to write code