working basic event rendering