updated for seneca 0.5.2