finished building base api