added archives and pagination