converted one ides to multiple for multiple pages