fixed input spacing + api usage