first write code