generate method fixies + tests