add one method depends on another method to complete