change codes to robots and adjust the structure and prepare collect all the posts