added code and changed code