repair interface definition

change from implicit and adding public modifier