init the basic handeler