adding code and afile