added res type