First version of simple extend