updated methods with arguments