modified 'return' to 'continue'