used angular filter instead of accounting