added for-loop for testing