extended the basemodel snippet