sidebar test code