Factoring: principle, costs and alternatives