studentdata with interface