changed some method creations.