Finally, got a simple widget working