cup and typecup