Added code for the interface