added code to directory