created code

Added the code