added generic embed type
resetting generic type