assignment-3: removed random brace