adding loading gif and cleaned things