added partial support for effects