Added functions to collection page