external function call on select day