student is requested only to implement slots