trying to get widget working