trigger for data Handling