working on webapi interface