added a type for basis elements