updated for seneca 0.5