added creation of stub