add NumMethods solution