moving skip function, added collect_info function