replace desc function with method calls