using polymorphic variable types for Cassette