adds stock implementation
applies patches