addition loop working