model for dir