missing statement termination
eliminate redundant API URL manipulation