Data not getting Recorded.