redesigning api proof of concept