Encoding department page