wrote some code