adding base directories and tallie's code