adds rmdir
remove public before overwriting it