adding draft of widget interfacce