expences functonality