implemented folder functionality