adding a loading mask, changing up formatting, changing api to return less