add enter/leave listener support
Version 0.0.3