BEGINNING: Add inplace template
BEGINNING: Add inplace template