updated for seneca 0.5.0