Resource paying method added