add logic in callback