solve devode ways