made two methods static