setting embedded to true