Can someone explain in detail how the handler thing works?