code cleanup
by_method filler, fixed bug with cases and response