need help in capturing data