debug and readme fixed, chaining fixed