changed reserved word "type" to "s_type"