adding readdir