need to check passfile too