a solution for SmartDormytory